package com.atguigu.springcloud.entities;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@SuppressWarnings("serial")
@AllArgsConstructor
@NoArgsConstructor
@Data
@Accessors(chain=true)
public class Dept implements Serializable {
	
	
	private long deptno; //主鍵
	private String dname; //部門名稱
	private String db_source; //来自哪个数据库
	
	
	public Dept(String dname) {
		super();
		this.dname = dname;
	}
	
	
	
	
	
}
